async function main() {
  const [deployer] = await ethers.getSigners();
  const TreeNFT = await ethers.getContractFactory("TreeNFT");


  const platformAddress = "0xBe68D3CD3E2177611ee4baF7f8Bf708534204e15"; // 替换为实际的平台收款地址
  const tree_nft = await TreeNFT.deploy(platformAddress);
  await tree_nft.waitForDeployment();

  console.log("tree_nft deployed to:", await tree_nft.getAddress());
}

main().catch((error) => {
  console.error(error);
  process.exitCode = 1;
});